import { queryCurrent} from '@/services/user';

const Model = {
  namespace: 'accountAndsettings',
  state: {
    currentUser: {},
    imageCaptchaApplyId:'',
  },
  effects: {
    
  },
  reducers: {

    changeNotifyCount(state = {}, action) {
      return {
        ...state,
        currentUser: {
          ...state.currentUser,
          notifyCount: action.payload.totalCount,
          unreadCount: action.payload.unreadCount,
        },
      };
    },
  },
};
export default Model;
